/**
  ******************************************************************************
  * @file    sysclock.h
  * @brief   This file contains all the function prototypes for
  *          the sysclock.c file
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2023 CIEI.
  * All rights reserved.
  *
  ******************************************************************************
  */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _SYSCLOCK_H
#define _SYSCLOCK_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "main.h"

/* Defines ------------------------------------------------------------------*/
#define RCC_OSCILLATORTYPE_HSE_LSE      RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_LSE
#define RCC_OSCILLATORTYPE_HSE_HSI      RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_LSI
#define RCC_OSCILLATORTYPE_HSI_LSE      RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_LSE
#define RCC_OSCILLATORTYPE_HSI_LSI      RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_LSI

/* Variables -----------------------------------------------------------------*/

/* Prototypes ----------------------------------------------------------------*/
void SystemClockInit(void);

#ifdef __cplusplus
}
#endif
#endif /*__ _SYSTICK_H */
